package org.manusoft.refill.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name="t_driver_blacklist_hist_rf")
public class TDriverBlacklistHistRf implements Serializable {
	@Id
	@Column(name="DRIVER_BLACKLIST_ID")
	private int driverBlacklistId;

	@Column(name="BLACKLIST_DATE")
	private Date blacklistDate;

	@Column(name="BLACKLIST_REASON")
	private String blacklistReason;

	@Column(name="BLACKLIST_RESOLVED_DATE")
	private Date blacklistResolvedDate;

	@ManyToOne
	@JoinColumn(name="DRIVER_ID")
	private TDriverDetailsRf driverId;

	private static final long serialVersionUID = 1L;

	public TDriverBlacklistHistRf() {
		super();
	}

	public int getDriverBlacklistId() {
		return this.driverBlacklistId;
	}

	public void setDriverBlacklistId(int driverBlacklistId) {
		this.driverBlacklistId = driverBlacklistId;
	}

	public Date getBlacklistDate() {
		return this.blacklistDate;
	}

	public void setBlacklistDate(Date blacklistDate) {
		this.blacklistDate = blacklistDate;
	}

	public String getBlacklistReason() {
		return this.blacklistReason;
	}

	public void setBlacklistReason(String blacklistReason) {
		this.blacklistReason = blacklistReason;
	}

	public Date getBlacklistResolvedDate() {
		return this.blacklistResolvedDate;
	}

	public void setBlacklistResolvedDate(Date blacklistResolvedDate) {
		this.blacklistResolvedDate = blacklistResolvedDate;
	}

	public TDriverDetailsRf getDriverId() {
		return this.driverId;
	}

	public void setDriverId(TDriverDetailsRf driverId) {
		this.driverId = driverId;
	}

}
